package com.ljf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljf.dto.DeptSaveDto;
import com.ljf.dto.QueryDept;
import com.ljf.entity.Dept;

import java.util.List;

public interface DeptService extends IService<Dept> {
    List<Dept> listBydto(QueryDept queryDept);

    void forbiddenDept(Long id);

    void saveDept(DeptSaveDto saveDto);

    void updateDept(DeptSaveDto deptSaveDto);
}
